package com.guigu.thirdpartyservices.controller;

import com.guigu.gulicommon.entity.pojo.res.Res;
import com.guigu.thirdpartyservices.service.ALiYunOssService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 阿里云oss服务
 */
@RestController
@RequestMapping("/oss")
public class ALiOssController {

    @Autowired
    private ALiYunOssService aliYunOssService;
    /**
     * 获取上传文件凭证
     */
    @GetMapping("/credentials")
    public Res<String> getCredentials() {
        return Res.success();
    }
}
